<?php

namespace app\game\controller;
use cmf\controller\UserBaseController;
use think\Db;
use think\Request;

class RoomconfigController extends UserBaseController {
	public function getRoomlist(){
		$params = Request::instance()->param();
		$gameid = isset($params['id']) ? $params['id'] : false;
		if(!$gameid) return $this->result([],0,'gameID不能为空','json',[], 'status');

		// 请求另外接口获取房间利尔表列表
	}

	public function request ($url, $method = 'get', $patrams = null){
		$url='http://www.sipeng.net/';
		$html = file_get_contents($url);
		echo $html;
	}

}